package cn.sugarscat.order;

public class Payment {
    private int id;
    private int orderId;
    private double amount;
    private String type;
    private String time;

    public Payment(){}

    public Payment(int orderId,  double amount, String type, String time){
        this.orderId = orderId;
        this.amount = amount;
        this.type = type;
        this.time = time;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getOrderId() {
        return orderId;
    }

    public void setOrderId(int orderId) {
        this.orderId = orderId;
    }

    public double getAmount() {
        return amount;
    }

    public void setAmount(double amount) {
        this.amount = amount;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }
}
